package cn.cm.config;

/**
 * @author shikundai
 * @date 2021/6/22
 * @time 20:40
 * @description: 数据返回封装
 */
public class OutData {
    /**
     * 描述： 状态码  200：成功      500:失败
     * @author shikundai
     * @date 2021/6/22
     * @time 20:41
     */
    private int code=200;
    /**
     * 描述：信息字段
     * @author shikundai
     * @date 2021/6/22
     * @time 20:42
     */
    private String msg;
    /**
     * 描述：数据字段
     * @author shikundai
     * @date 2021/6/22
     * @time 20:43
     */
    private Object data;

    // alt+insert


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
